﻿#include "mainwindow.h"

#include <QApplication>
#include <QTextCodec>
#include "explore.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Explore *explore = new Explore();
    MainWindow *mainWindow = explore->createWindow();
    mainWindow->show();
    qDebug() <<(mainWindow->tabWidget() == nullptr);
    WebView *webView = mainWindow->tabWidget()->currentWebView();
    webView->setUrl(QUrl(Explore::defaultLoadUrl));
    return a.exec();
}
